package com.example.chatweb;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@ComponentScan(basePackages = {"com.example.chatweb", "com.example.chatweb.config"})
@MapperScan("com.example.chatweb.mapper")
public class ChatWebApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(ChatWebApplication.class, args);
	}
	
}
